<?php

namespace forfun\repository\entity;

class ApiToken {
    /**
     * @var int id.
     * @primary
     */
    private $_id;

    /**
     * @var string access_token.
     * @alias("access_token")
     */
    private $_accessToken;

    /**
     * @var string access_key.
     * @alias("access_key")
     */
    private $_accessKey;

    /**
     * @var string version.
     */
    private $_version;

    /**
     * @var int state.
     */
    private $_state;

    /**
     * @var string remark.
     */
    private $_remark;

    /**
     * @return int
     */
    public function getId()
    {
        return $this->_id;
    }

    /**
     * @param int $id
     */
    public function setId($id)
    {
        $this->_id = $id;
    }

    /**
     * @return string
     */
    public function getAccessToken()
    {
        return $this->_accessToken;
    }

    /**
     * @param string $accessToken
     */
    public function setAccessToken($accessToken)
    {
        $this->_accessToken = $accessToken;
    }

    /**
     * @return string
     */
    public function getAccessKey()
    {
        return $this->_accessKey;
    }

    /**
     * @param string $accessKey
     */
    public function setAccessKey($accessKey)
    {
        $this->_accessKey = $accessKey;
    }

    /**
     * @return string
     */
    public function getVersion()
    {
        return $this->_version;
    }

    /**
     * @param string $version
     */
    public function setVersion($version)
    {
        $this->_version = $version;
    }

    /**
     * @return int
     */
    public function getState()
    {
        return $this->_state;
    }

    /**
     * @param int $state
     */
    public function setState($state)
    {
        $this->_state = $state;
    }

    /**
     * @return string
     */
    public function getRemark()
    {
        return $this->_remark;
    }

    /**
     * @param string $remark
     */
    public function setRemark($remark)
    {
        $this->_remark = $remark;
    }


}